package com.zdp.config.ribbon;

import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.context.annotation.Configuration;
import ribboncustom.RibbonConfig;

/**
 * @author sesshomaru
 * @date 2021/10/5 16:40
 * 细粒度配置Ribbon负载均衡策略
 * RibbonConfig.class这个自定义负载策略不要被spring扫描到，不然会导致Ribbon父子上下文重叠，如果重叠就会变为全局配置
 */
//@Configuration
//@RibbonClient(name = "user-center", configuration = RibbonConfig.class)
//public class UserCenterRibbonConfiguration {
//}
